package com.ssm.jvm.gc;

/**
 * -XX:+PrintCommandLineFlags -server -Xms16m -Xmx16m -Xmn6m -XX:SurvivorRatio=8 -XX:MaxTenuringThreshold=15 -XX:MetaspaceSize=21m -XX:+UseConcMarkSweepGC -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:/Users/zhengshaohong/Desktop/xxx-task/gc.log -XX:+CMSPermGenSweepingEnabled -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/Users/zhengshaohong/Desktop/xxx-task
 *
 */
public class GCTest {

    public static void main(String[] args) throws InterruptedException {
        while (true) {
            System.out.println( System.currentTimeMillis() + ": 1000");
            Thread.sleep(1000);
        }
    }
}
